package com.sxjh.entity.param;

import com.sxjh.entity.PageEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
public class PlannedOrderAddParam extends PageEntity {

    /**
     * 计划单名称
     */
    @ApiModelProperty(value = "计划单名称")
    private String title;

    /**
     * 计划单号
     */
    @ApiModelProperty(value = "计划单号")
    private String orderNo;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 派车单是否已生成
     */
    @ApiModelProperty(value = "派车单是否已生成")
    private Boolean isTrucking;

    /**
     * 物料id
     */
    @ApiModelProperty(value = "物料id")
    private Integer materialId;

    /**
     * 是否关闭
     */
    @ApiModelProperty(value = "是否关闭:1,否;2,是")
    private Integer close;

    /**
     * 开始日期
     */
    @ApiModelProperty(value = "开始日期")
    private LocalDateTime startDate;

    /**
     * 结束日期
     */
    @ApiModelProperty(value = "结束日期")
    private LocalDateTime endDate;

    /**
     * 装货地id
     */
    @ApiModelProperty(value = "装货地id")
    private Integer locationUpId;

    /**
     * 卸货地id
     */
    @ApiModelProperty(value = "卸货地id")
    private Integer locationDownId;


    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Integer createdBy;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdAt;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private Integer updatedBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedAt;

    /**
     * 是否删除
     */
    @ApiModelProperty(value = "删除标记,1:否,-1:是")
    private Integer delFlag = 1;

    /**
     * 总计划量
     */
    @ApiModelProperty(value = "总计划量")
    private BigDecimal total;
}
